<?php
// 框架引导

define('ROOT_PATH', substr(dirname(__FILE__), 0, -10));
define('CORE', ROOT_PATH . '/framework/');
define('APP_PATH', ROOT_PATH . '/app/');
define('CONFIG', ROOT_PATH . '/config/');
define('FUNC', APP_PATH . '/common/');
define('DEBUG_LOG_PATH', ROOT_PATH . '/cache/log/');
define('VIEW', APP_PATH . 'view/');
define('__PUBLIC__', ROOT_PATH . '/public/static');


include CORE . '/base.php';
core\App::run();